<div class="context-menu">
	<ul>
		<li><?php echo $html->link('Pages list', '/admin/pages/index',  null, 'This page isn\'t saved.')?></li>
		<li><?php echo $html->link('Add page', '/admin/pages/add', null, 'This page isn\'t saved.')?></li>
	</ul>
</div>

<fieldset>
	<legend>Page edit</legend>
	
	<form action="<?php echo $html->url('/admin/pages/edit/'.$html->tagValue('Page/id')); ?>" method="post">
		<?php echo $form->hidden('Page/id')?>
		
		<?php echo $this->renderElement('pages/_form'); ?>
			
	
			<?php echo $form->submit('update');?>

	</form>

</fieldset>
